namespace KMS.Core
{
    using System;

    [Serializable]
    [AttributeUsage(AttributeTargets.Property)]
    public class ColumnAttribute : Attribute
    {
        public string Name { get; set; }
        public string PropertyInfoName { get; set; }
        public string Expression { get; set; }
        public bool IsPrimaryKey { get; set; }
        public bool Identity { get; set; }
        public bool Ignore { get; set; }
        public string DbType { get; set; }
        public bool CanBeNull { get; set; }
        public string Description { get; set; }
    }
}